var status = -1;

function action(h, e, d) {
    var c = cm.getEventManager("副本_妖精学院_解救2");
    var b = c.getInstance("副本_妖精学院_解救2");
    var g = c.getMapFactoryMap(cm.getMapId());
    for (var a = 0; a < 20; a++) {
        var f = c.getMonster(3501007);
        b.registerMonster(f);
        g.spawnMonsterOnGroundBelow(f, new java.awt.Point(cm.rand(-800, 400), 180))
    }
    cm.sendOk("呜呜呜……请想办法对付这些怪物吧！", 1500019);
    cm.dispose()
}

function start() {
    status = -1;
    action(1, 0, 0)
};